package 功能实现.管理员角色权限三级.service;

import cn.tedu.autoshow.commons.pojo.vo.PageData;
import cn.tedu.autoshow.passport.pojo.param.RoleAddNewParam;
import cn.tedu.autoshow.passport.pojo.param.RoleUpdateParam;
import cn.tedu.autoshow.passport.pojo.vo.RoleListItemVO;
import cn.tedu.autoshow.passport.pojo.vo.RoleStandardVO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IRoleService {

    void addNew(RoleAddNewParam roleAddNewParam);

    void deleteById(Long id);

    void updateInfoById(Long id, RoleUpdateParam roleUpdateParam);

    RoleStandardVO getStandardById(Long id);

    PageData<RoleListItemVO> list(Integer pageNum);

    PageData<RoleListItemVO> list(Integer pageNum, Integer pageSize);

}
